package com.baidu.echarts;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

public class AxisPointer {
    @JsonProperty(index = 1)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String type;

    @JsonProperty(index = 2)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LineStyle lineStyle;

    public String getType() {
        return type;
    }

    public AxisPointer setType(String type) {
        this.type = type;
        return this;
    }

    public LineStyle getLineStyle() {
        return lineStyle;
    }

    public AxisPointer setLineStyle(LineStyle lineStyle) {
        this.lineStyle = lineStyle;
        return this;
    }

    public LineStyle buildLineStyle(){
        this.lineStyle= new LineStyle();
        return this.lineStyle;
    }
}
